package com.yzl.meeting.business.service;

import com.yzl.meeting.business.dto.ShowUser;
import com.yzl.meeting.business.entity.*;
import com.yzl.meeting.business.vo.NewUserVo;

import java.sql.SQLException;
import java.util.List;

/**
 * @Title: MangeUserService
 * @Author: 姚志立
 * @Description:
 * @Date: 2020/10/14 11:01
 * @Version: 1.0
 */
public interface MangeUserService {
    List<Delegation> listDelegation() throws Exception;

    List<Staff> listStaff(Integer delegationId) throws Exception;

    void addUser(NewUserVo newUserVo) throws Exception;

    PageBean  findAllUser(PageBean pageBean) throws SQLException;

    void deleteUser(Integer uId) throws Exception;

    NewUserVo findUserById(Integer uId) throws SQLException;


    void updateUser(NewUserVo newUserVo) throws Exception;

    List<Staff> listAllStaff() throws SQLException;
}
